package org.jeecg.modules.clubEventManagement.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 社团活动管理返回数据
 * @Author: guanxiaofeng
 * @Date:   2020-07-20
 * @Version: V1.0
 */
@Data
@ApiModel(description="社团活动管理返回数据")
public class ClubEventManagementResult {
    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**活动名称*/
    @Excel(name = "活动名称", width = 15)
    @ApiModelProperty(value = "活动名称")
    private String eventName;
    /**活动类型*/
    @Excel(name = "活动类型", width = 15)
    @ApiModelProperty(value = "活动类型")
    private String eventType;
    /**活动时间*/
    @Excel(name = "活动时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "活动时间")
    private Date eventTime;
    /**活动性质*/
    @Excel(name = "活动性质", width = 15)
    @ApiModelProperty(value = "活动性质")
    private String eventNature;
    /**举办方*/
    @Excel(name = "举办方", width = 15)
    @ApiModelProperty(value = "举办方")
    private String organizer;
    /**活动说明*/
    @Excel(name = "活动说明", width = 15)
    @ApiModelProperty(value = "活动说明")
    private String explanation;
    /**活动地址*/
    @Excel(name = "活动地址", width = 15)
    @ApiModelProperty(value = "活动地址")
    private String address;
    /**活动纪实*/
    @Excel(name = "活动纪实", width = 15)
    @ApiModelProperty(value = "活动纪实")
    private String activityDocumentary;
    /**点赞数*/
    @Excel(name = "点赞数", width = 15)
    @ApiModelProperty(value = "点赞数")
    private Integer likes;
    /**评论数*/
    @Excel(name = "评论数", width = 15)
    @ApiModelProperty(value = "评论数")
    private Integer commentNum;
    /**学校名称*/
    @Excel(name = "学校名称", width = 15)
    @ApiModelProperty(value = "学校名称")
    private String schoolName;
    /**报名人数*/
    @Excel(name = "报名人数", width = 15)
    @ApiModelProperty(value = "报名人数")
    private Integer applicantsNum;
    /**社团ID*/
    @Excel(name = "社团ID", width = 15)
    @ApiModelProperty(value = "社团ID")
    private String clubId;
    /**社团名称*/
    @Excel(name = "社团名称", width = 15)
    @ApiModelProperty(value = "社团名称")
    private String communityName;
    /**删除：1正常，2已删除*/
    @Excel(name = "删除：1正常，2已删除", width = 15)
    @ApiModelProperty(value = "删除：1正常，2已删除")
    @Dict(dicCode = "club_dynamics_del")
    private String delFlag;
    /**审核：1未审核，2通过，3未通过*/
    @Excel(name = "审核：1未审核，2通过，3未通过", width = 15)
    @ApiModelProperty(value = "审核：1未审核，2通过，3未通过")
    @Dict(dicCode = "club_dynamics_audit")
    private String audit;
    @Excel(name = "状态：1未开始，2进行中，3已结束", width = 15)
    @ApiModelProperty(value = "状态：1未开始，2进行中，3已结束")
    @Dict(dicCode = "club_dynamics_status")
    private String type;
}
